<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Honeydew</title>
<!-- Jquery -->
<script src="http://code.jquery.com/jquery.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/smoothness/jquery-ui.css" />
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js"></script>
<script src="${pageContext.request.contextPath}/js/jquery.blockUI.js"></script>
<script src="${pageContext.request.contextPath}/js/jquery.mask.js"></script>
<!-- carousel -->
<link href="${pageContext.request.contextPath}/css/carousel.css" rel="stylesheet" />
<!-- Bootstrap -->
<link href="${pageContext.request.contextPath}/bootstrap-3.1.1-dist/css/bootstrap.min.css" rel="stylesheet" media="screen" />
<script src="${pageContext.request.contextPath}/bootstrap-3.1.1-dist/js/bootstrap.min.js"></script>
<script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-dropdown.js"></script>
<!-- responsive -->
<link href="${pageContext.request.contextPath}/css/bootstrap-responsive.css" rel="stylesheet" type="text/css">
<!-- holder -->
<script src="${pageContext.request.contextPath}/holder/holder.js"></script>
<!-- commons -->
<link href="${pageContext.request.contextPath}/css/commons.css" rel="stylesheet" />
<script src="${pageContext.request.contextPath}/js/shop.js"></script>

<!-- Shop -->
<script src="${pageContext.request.contextPath}/js/shop.js"></script>
</head>

<!-- body -->
<body>
<s:set var="theme" value="'simple'" scope="page" />
<s:form>
	<div class="container body-base">
		
		<table width="100%">
			<tr>
		    	<td>
		        	<!-- banner -->
		        	<s:include value="header.jsp" />
		        </td>
		    </tr>
		    <tr>
		    	<td>
		        	<!-- content -->
		            <br />
		            <div class="row-fluid">
		            <table class="table table-condensed">
	                    <tr>
	                        <th>#</th>
	                        <th>訂單編號</th>
	                        <th>最後處理日期</th>
	                        <th>訂單狀態</th>
	                        <th>出貨日期</th>
	                        <th>明細確認</th>
	                    </tr>
	                    <s:if test="orderInforList != null">
	                    	<s:iterator value="orderInforList" status="st">
	                     	<tr>
	                     		<td>
	                     			<s:property value="#st.index + 1" />
	                     			<s:hidden value="%{Seqid}" />
	                     		</td>
	                          <td>
	                          	<s:property value="Number"/>
	                          </td>
	                          <td>
	                          	<s:date name="Processfinaldate" format="yyyy/mm/dd"/>
	                          </td>
	                          <td>
	                          	<s:property value="@lance.honeydew.util.OrderInformationUtil@getStateStr(State)"/>
	                          </td>
	                          <td>
	                          	<s:date name="Outorderdate" format="yyyy/MM/dd"/>
	                          </td>
	                          <td>
	                          	<input type="button" class="btn" value="查詢" onclick="ajaxOrderList0101(<s:property value='Seqid'/>);"/>
	                          </td>
	                      </tr>
	                     </s:iterator>
	                    </s:if>                             
	                </table>
		            </div>
		            <br />
		        </td>
		    </tr>
		    <tr>
		    	<td>
		        	<!-- footer -->
		        	<s:include value="footer.jsp" />
		        </td>
		    </tr>
		    <tr>
		    	<td>
		        	<!-- copyright -->
		        	<s:include value="copyright.jsp" />
		        </td>
		    </tr>
		</table>
		
	</div>
</s:form>
</body>
</html>
